#ifndef LABEL_H
#define LABEL_H

#include <QWidget>
#include <QLabel>

class Label : public QLabel
{
    Q_OBJECT
public:
    Label(QWidget *parent);

    // 鼠标进入事件
    //void enterEvent(QEvent* event);
    // 鼠标移出事件
    //void leaveEvent(QEvent* event);
    void mousePressEvent(QMouseEvent *event);
    bool event(QEvent* e);
};

#endif // LABEL_H
